\usepackage{dcolumn}
\newcolumntype{d}{{D{.}{.}{-1}}}
\usepackage{pdflscape}
\usepackage{supertabular}
\usepackage{booktabs}
\usepackage{multicol}
\usepackage{nameref}
\usepackage{caption}
\usepackage{float}
\usepackage{tocloft}
\usepackage{etoc}
\usepackage{stringstrings}
\usepackage{environ}

\usepackage[explicit]{titlesec}
\usepackage[normalem]{ulem}

% \setcounter{secnumdepth}{4}

\titleformat{\section}{\normalsize\bfseries}{\thesection}{1em}{\uline{#1}}
\titleformat{\subsection}{\normalsize\bfseries}{\thesubsection}{1em}{#1}
\titleformat{\subsubsection}{\normalsize\itshape}{\thesubsubsection}{1em}{\uline{#1}}
\titleformat{\paragraph}{\normalsize}{\theparagraph}{1em}{\uline{#1}}
% \titleformat{\paragraph}[runin]{\normalsize}{\theparagraph}{1em}{\uline{#1}}
\titleformat{\subparagraph}[runin]{\normalsize\itshape}{\thesubparagraph}{1em}{{#1}.}

% \newcommand{\esp}{\begin{subparagraph}\end{subparagraph}}
\newcommand{\eitc}{\etocsetnexttocdepth{1}\etocsettocstyle{}{}\tableofcontents}
\newcommand{\ejtc}{\etocsetnexttocdepth{2}\etocsettocstyle{}{}\tableofcontents}
\newcommand{\ektc}{\etocsetnexttocdepth{3}\etocsettocstyle{}{}\tableofcontents}
\newcommand{\eltc}{\etocsetnexttocdepth{4}\etocsettocstyle{}{}\tableofcontents}
\newcommand{\eptc}{\addtocontents{toc}{\cftpagenumbersoff{section}}}
\newcommand{\eotc}{\addtocontents{toc}{\cftpagenumbersoff{subsection}}}
\newcommand{\entc}{\addtocontents{toc}{\cftpagenumbersoff{subsubsection}}}
\newcommand{\emtc}{\addtocontents{toc}{\cftpagenumbersoff{paragraph}}}
\newcommand{\nl}{\newline}
\newcommand{\blandscape}{\begin{landscape}}
\newcommand{\elandscape}{\end{landscape}}
\cftsetindents{paragraph}{\leftmargin}{\itemindent}
\renewcommand{\cftparaaftersnumb}{\textbullet }
% \setlength{\cftbeforesecskip}{\cftbeforesubsecskip} % whoa what do these do
% \setlength{\cftsubparaindent}{\cftsubsubsecindent} %
% \setlength{\cftsubsubsecindent}{\cftparaindent} %
\newcommand{\bmCccc}{\begin{multicols*}{4}}
\newcommand{\bmCcc}{\begin{multicols*}{3}}
\newcommand{\bmCc}{\begin{multicols*}{2}}
\newcommand{\bmcccc}{\begin{multicols}{4}}
\newcommand{\bmccc}{\begin{multicols}{3}}
\newcommand{\bmcc}{\begin{multicols}{2}}
\newcommand{\emc}{\end{multicols}}
\newcommand{\emC}{\end{multicols*}}
\newcommand{\ltotab}{\renewcommand{\longtable}{\tabular}}
\newcommand{\eltotab}{\renewcommand{\endlongtable}{\endtabular}}
\newcommand{\R}{\texttt{R}{ }} % but one can always just type `R` % perhaps this could be for `R` (R Core Team 2018) ?
\newcommand{\bnb}{\bibliography{~/arsenoff.bib}} % never used
\newcommand{\ztab}{\setlength{\tabcolsep}{0pt}}
\newcommand{\ntab}{\setlength{\tabcolsep}{1pt}}
\newcommand{\ttab}{\setlength{\tabcolsep}{2pt}}
\newcommand{\utab}{\setlength{\tabcolsep}{6pt}}
\newcommand{\bxwide}{\newgeometry{left=0.5in, right=0.5in, top=1in, bottom=1in}}
\newcommand{\exwide}{\newgeometry{margin=1in}}
\newcommand{\blimp}{\begin{minipage}{\linewidth}}
\newcommand{\elimp}{\end{minipage}}
% \newenvironment{footable}[2][0]{\ntab\begin{tabular*}{\textwidth}{#2}}{\end{tabular*}}
% \environfinalcode{\end{tabular*}}
% \newenvironment{baztable}[1]{\begin{tabular*}{#1}}{\end{tabular*}}
% \newenvironment{bartable}[2][0]{\begin{baztable}{#2}}{\end{baztable}}
\newenvironment{footable}[2][0]{\ztab\centering\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}#2}}{\end{tabular*}}
\newcommand{\longtofoo}{\renewenvironment{longtable}{\ztab\begin{center}\begin{footable}}{\end{footable}\end{center}\utab}}
\newcommand{\ehtobr}{\let\endhead\bottomrule}
